//
//  ApiTaskManager.m
//  ApiBase
//
//  Created by Liam on 12-10-3.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "ApiTaskManager.h"
#import "CmnFunc.h"

@implementation ApiTaskManager

OBJC_IMPL_SINGLETON(ApiTaskManager)

- (id)init
{
	self = [super init];
	
	[self setMaxConcurrentOperationCount:[CmnFunc countCores] * 2 + 1];
	
	return self;
}

- (void)beginRunningTask:(NSOperation *)task
{
	@synchronized(self)
	{
		
	}
}

- (void)finishRunningTask:(NSOperation *)task
{
	@synchronized(self)
	{
		
	}
}

@end
